//
//  YZGAlertView.h
//  Masonry
//
//  Created by LXY on 16/6/14.
//  Copyright © 2016年 AVGD. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface MJUIAlertVCBaseView : UIView

- (void)show;
- (void)dismiss;
- (void)dismissWindow;
@property (nonatomic, strong) UIView *contentview;
@property (nonatomic, assign) CGFloat contentHeight;
@property (nonatomic, assign) AlERTTYPE alertType;
//@property (nonatomic, assign) BOOL forbidClickWindow;//是否允许点击window

- (instancetype)initWithFrame:(CGRect)frame;
- (void)initContentview:(UIView*)view;

@property (nonatomic, assign) BOOL enableDismissWindow;

@property (nonatomic, strong) UIColor *mBackgroundColor;

@property (nonatomic,copy) void(^handleDismissBlock)(void);

- (void)dismissCompletion: (void (^)(void))completion;

@end
